# settings for bash
# Author: 晁永生

export PS1="\[\033[00;33m\]\w\$\[\033[00m\] "
alias wi="whatis"
alias wis="whereis"
alias p="pwd"
alias kernel="cd /home/work/src/linux-2.6.35.5/"
alias cx="chmod a+x"
alias wh="which"

# to generate UNIQUE file name
function unique()
{
        echo $(date | cut -d' ' -f1,2,3,4,6 | sed 's/:/-/g;s/ /-/g')
}
# date -> Sun Nov 21 18:06:50 CST 2010
# touch file.$(unique) -> file.Sun-Nov-21-18-06-50-2010
